<template>
    <div>
        <el-row>
            <el-col :span="16" :offset="4">
                <el-table :data="list">
                    <el-table-column prop="Id" label="#" width="80px">
                    </el-table-column>

                    <el-table-column prop="Title" label="标题" align="center">
                    </el-table-column>
                </el-table>
            </el-col>
        </el-row>
    </div>
</template>

<script>
    import RequestSender from '@/RequestSender'
    export default {
        name: "List",
        data() {
            return {
                list: [],
            }
        },
        mounted() {
            this.init()
        },
        methods: {
            init() {
                RequestSender.GetBlogList()
                    .then(res => {
                        this.list = res.data.Data
                    })
            }
        }
    }
</script>

<style scoped>

</style>
